<template>
	<view class="all">
		<view class="mid">
			<view class="title">
				认证机构成功
			</view>
			<view class="info">
				<view class="content">
					<view class="">
						机构名称：候鸟养老服务机构
					</view>
					<view class="" style="margin-top: 8px;">
						成立时间：2023.03.16
					</view>
					<view class="" style="margin-top: 8px;">
						社会统一信用代码：****************
					</view>
					<view class="" style="margin-top: 8px;">
						法人姓名：范**
					</view>
					<view class="" style="margin-top: 8px;">
						法人身份证：110123********5678
					</view>
					<view class="" style="margin-top: 8px;">
						法人手机号：15012345678
					</view>
					<view class="" style="margin-top: 8px;">
						经营者姓名：范**
					</view>
					<view class="" style="margin-top: 8px;">
						经营者身份证：110123********5678
					</view>
					<view class="" style="margin-top: 8px;">
						经营者手机号：15012345678
					</view>
				</view>
			</view>
			<view class="btn" @click="toauth()">
				重新认证
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info: {}
			};
		},
		onShow() {
			try {
				const value = uni.getStorageSync('user');
				if (value) {
					console.log(value);
					this.info = value
				}
			} catch (e) {
				// error
			}
		},
		methods: {
			toauth() {
				uni.navigateTo({
					url: '/pages/login/auth?id='+2
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.all {
		height: 100%;
		background-color: #FFFFFF;
		position: relative;

		.mid {
			.title {
				height: 220px;
				text-align: center;
				line-height: 180px;
				font-size: 20px;
				font-weight: bold;
			}

			.info {
				height: 100px;
				line-height: 20px;
				display: flex;
				justify-content: center;
				margin-top: -100rpx;
				.content {
					text-align: left;
					font-size: 28rpx;
					font-weight: bold;
					color: #242424;
				}
			}
		}

		.btn {
			position: absolute;
			margin: auto;
			left: 0;
			right: 0;
			// top: 0;
			bottom: 100px;
			text-align: center;
			width: 231px;
			height: 44px;
			border-radius: 22px;
			border: 1px #5398F6 solid;
			background-color: #FFFFFF;
			line-height: 44px;
			color: #5398F6;
			font-size: 16px;
			font-weight: bold;
		}
	}
</style>